import "core-js/features/string/replace-all.js";
import "@masx200/webpack-react-vue-spa-awesome-config/registerserviceworker.js";
import "./addEventListener";
import { components } from "./components";
import "./error-alert";
import { loadclipboard } from "./loadclipboard";
import { vueApp } from "./mark-down-reader";
import { before } from "./before";
//@ts-ignore
import startapp from "./startapp.cjs";
import "./styles";

window.addEventListener("load", loadclipboard, { once: true });
Object.entries(components).forEach(([key, value]) => {
    vueApp.component(key, value);
});
before();
startapp();
